<?php
/*--------------------------------------------------------------------------
# Operation  Table for TOR RaidPlanner 
# ------------------------------------------------------------------------*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

class TableOperation extends JTable
{
	/**
	 * Primary Key
	 *
	 * @var int
	 */
	var $operation_id = null;

	/**
	 * @var int
	 */
	var $location_id = null;

	/**
	 * Foreign Key to Factions Table
         * @var int
	 */
	var $faction_id	= null;

	/**
	 * @var int
	 */
	var $difficulty_id = null;

	/**
	 * Foreign Key to Composition Table
         * @var int
	 */
	var $composition = null;

	/**
         * @var DateTime
	 */
	var $startdatetime = null;

        /**
	 * @var DateTime
	 */
        var $enddatetime = null;

	/**
	 * Constructor
	 *
	 * @param object Database connector object
	 */
	function TableCharacter(& $db) {
		parent::__construct('#__torrp_operation', 'operation_id', $db);
	}
}